.class Lcom/brixd/niceapp/community/CommunityMainFragment$6;
.super Ljava/lang/Object;
.source "CommunityMainFragment.java"

# interfaces
.implements Lcom/viewpagerindicator/TabMovablePageIndicator$OnTabReselectedListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/CommunityMainFragment;->initActions(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/CommunityMainFragment;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/CommunityMainFragment;

    .prologue
    .line 240
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$6;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTabReselected(I)V
    .registers 5
    .param p1, "position"    # I

    .prologue
    .line 244
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$6;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    # getter for: Lcom/brixd/niceapp/community/CommunityMainFragment;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;
    invoke-static {v0}, Lcom/brixd/niceapp/community/CommunityMainFragment;->access$300(Lcom/brixd/niceapp/community/CommunityMainFragment;)Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    move-result-object v0

    if-eqz v0, :cond_21

    .line 245
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$6;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    # getter for: Lcom/brixd/niceapp/community/CommunityMainFragment;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;
    invoke-static {v0}, Lcom/brixd/niceapp/community/CommunityMainFragment;->access$300(Lcom/brixd/niceapp/community/CommunityMainFragment;)Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$6;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    # getter for: Lcom/brixd/niceapp/community/CommunityMainFragment;->mTypes:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/brixd/niceapp/community/CommunityMainFragment;->access$100(Lcom/brixd/niceapp/community/CommunityMainFragment;)Ljava/util/ArrayList;

    move-result-object v1

    iget-object v2, p0, Lcom/brixd/niceapp/community/CommunityMainFragment$6;->this$0:Lcom/brixd/niceapp/community/CommunityMainFragment;

    # getter for: Lcom/brixd/niceapp/community/CommunityMainFragment;->mType:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;
    invoke-static {v2}, Lcom/brixd/niceapp/community/CommunityMainFragment;->access$000(Lcom/brixd/niceapp/community/CommunityMainFragment;)Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->scrollToHome(I)V

    .line 247
    :cond_21
    return-void
.end method
